package com.luzhikun.Listener.httpSessionListener;

import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

/**
 * @Author Rookie Coder
 * @Description 八大监听器之HttpSessionListener
 * @Date
 **/
public class ServletSessionListener implements HttpSessionListener {

    // 会话的创建
    @Override
    public void sessionCreated(HttpSessionEvent se) {
        System.out.println("会话创建");
    }

    // 会话的销毁
    @Override
    public void sessionDestroyed(HttpSessionEvent se) {
        System.out.println("会话销毁");
    }
}
